Add checking for clock_gettime() function.