Improve platform detection

In Mac OS Mavericks jsduck binary installed at /usr/local/bin/jsduck.
Installed by command:
sudo gem install jsduck
small fix
Merge pull request #6 from falkolab2/master

Improve platform detection