Adding CMake magic for finding libpapi