fixed ipv6 check on windows