Fix sync_socket_extension.cc for Windows compilation