Add ipv6 support when building nginx

[CHEF-4576]