Make sure that ldconfig is not done during the build process
If the libpfm is bundled with papi the ldconfig would be run and it
would cut short the install. The install needs to run to completion
and install /usr/include/perfmon/*.h files when bundling libpfm4
with papi.