Fix ipv6 compile for Linux