Some tricks for Solaris