Switch to mach_absolute_time() under Mac OS X, iOS, and *BSD which don't support clock_gettime().