Improve platform detection

In Mac OS Mavericks jsduck binary installed at /usr/local/bin/jsduck.
Installed by command:
sudo gem install jsduck