Add Solaris support

Add Solaris support
why changed from a boolean?