Minimal oversight in PAPI detection. Fixes #248