updated makefile to auto define Papi if requested