Don't segfault when there is no IPv6 support