mingw socket.h before windows.h