Fix winsock2.h compilation warnings