On windows should use <time.h> instead of <sys/time.h>.