Improved support for OSX timers.