Use our own gettimeofday implementation on windows for it to be consistent across ming builds and higher resolution.