clock_gettime implementation for Linux.