fixed compilation under Linux

Conditional include winsock2.h