Fix SmartOS grains.