Fix build on windows

Problem was introduces by a non pull request push for ipv6 support