Fix build without IPV6.