osx ipv6 constant fixes