Lots more mess-making to get the thing working on SmartOS