Add timers for Windows.
Fix 64 bit build errors.