Add Solaris support

Fix option keep-hot-count in Solaris conditional
same here