Added flag for supporting IPv6 only when enabled during the build.