Use gettimeofday() on OSX

I was getting very strange numbers from mach_absolute_time(),
gettimeofday() works fine.
Merge pull request #5 from gtbass/master

Use gettimeofday() on OSX