Adding darwin platform to common.sh build script

This is in lieu of: https://github.com/neovim/neovim/pull/237
To build on osx you need either: `shasum` or `sha1sum`, `shasum` is already included on osx so this just adds darwin to the script.