updated to compile with osx

It wouldn't compile on OSX because it doesn't have clock_gettime.

Now, it compiles, but I'm not sure that I'm using it right because the only "method" that is available is "dummy."