fix win32 build with winsock.h