<sys/timeb.h> is required for Windows