Check whether we need -lrt for clock_gettime().