Added solaris IPv6 checking to configure. Fixes #6438.