Add Solaris support

Fix option keep-hot-count in Solaris conditional
why is there a commented out section being committed?