SmartOS: explicitly set path for `which` under SmartOS
Merge pull request #2165 from mattconnolly/master

SmartOS: explicitly set path for `which` under SmartOS