osx does not have CLOCK_REALTIME
Merge pull request #3 from durka/fix-osx-time

Fix for no CLOCK_REALTIME on OSX