fix socket compilation (conflicting ipv6)