Added support for Solaris 9 & 11

Tested on Solaris 9 & 11