More SmartOS esky fixes

SmartOS should eventually get the spwd module
so we should try to import and include it like we do for Linux
( see https://github.com/joyent/pkgsrc/issues/164 )