Fix make for SmartOS