Fixed Cocoa build. OS X clock funcs work.