A bit hacky but now timer works on Win32!