Fix for compiling timing code when PAPI is not available.