Minimal oversight in PAPI detection. Fixes #248
Merge pull request #250 from bastih/master

Minimal oversight in PAPI detection. Fixes #248