Link with ws2_32 and winmm for Windows