fix ipv6 build for Windows. IPPROTO_IPV6 is an enum member, not a define