fixing ipv6 socket issue on cygwin