fix the PAPI macro define compile error