Add support for Solaris 10