macosx: Add poll based timer implementation