SmartOS: explicitly set path for `which` under SmartOS