Solaris support

Added Solaris support.