Add support for Joyent SmartMachines

Joyent machines use same locations as Homebrew so simply using the same rules as with MacOS is fine and works.
Merge pull request #213 from JonGretar/patch-1

Add support for Joyent SmartMachines