Allow SmartOS to use the smf module

Cherry-picked from develop to get SMF support working on SmartOS for 0.17.2