[cppmyth] OSX & IOS: Fix platform timer