osx ipv6 constant fixes
osx ctest fixes