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.