Add support for Solaris and Debian (Ubuntu)