Fake up clock_gettime() on OS X.