Check for clock_gettime in -lrt.