Add support for solaris2