Simplify and simplify.
Fix for systems without clock_gettime.