Added OS X support for precision timer