Fix build on mingw32/64: struct timeval isn't defined in default. See: 6...

See: 642477ef6a92c553d7abb00051674f4b518046c3