add support for Solaris and Ubuntu