winsock.h portability patch causing portability problem