Fix OS X build
 - ::clock_gettime is not implemented in Mac OS X