Homebrew: let Homebrew handle external resources download
build: don't download and extract tarball if source is already present

When building under Homebrew, we want to let Homebrew manage downloading and
extracting the tarballs.
Merge pull request #1411 from xu-cheng/homebrew-formula

Let homebrew handle external resources download