Add Solaris support

Add Solaris support