don't use IPV6_V6ONLY if not defined (from y-iida@secom.co.jp).