[win32] link against ws2_32.lib
fix sync with upstream 36eba34
[win32] don't provide custom versions of ntohll and htonll