attempt to add windows support

Make a mock version of gettimeofday by calling GetSystemTimeAsFileTime.