do build configuration for IPv4 and IPv6.