fixing ipv6 socket issue on cygwin 2