Provide an osx fix for cgtimers and a fallback to timevals for all other platforms !linux !win32 !osx.