Add SunOS Support

Add SunOS/Solaris/Joyent SmartOS support.