add -lrt to make

undefined reference to ‘clock_gettime’