fixed link flag issue for clock_gettime()