Fix some typos and missing declaration for papi
Fix missing config line for sstmac