Add support for Solaris/SunOS.