fix linker warnning

fix warnning about /lws2_32 by linking ws2_32.lib under MSVC