fix #6 for OS X. Change deprecated UpTime() to mach_absolute_time()