Opting for CLOCK_MONOTONIC in base_c/time.c if available
Fixed linkage of PAPI on GNU builds
Fixed compiler- and linker flags for perf/timer