Mac OS X: use IPV6_V6ONLY

As of 10.8, Mac OS X seems to behave more like Linux in the way
that IPv6 and IPv4 binding interact.

Closes PR 13193
fix submodule declarations nested in phases > 1