moved clock_gettime out to mac only build