glibc needs -lrt to get clock_gettime()
Reported by csosstudy