Stop warning about winsock2.h being included before windows.h

This change is released under the MIT license.