Fix building on OS X with go tool

The -rpath flag causes build problems on OS X, so update_llvm.sh
now statically links for OS X. See:
https://code.google.com/p/go/issues/detail?id=7293
Modified update_llvm.sh to not rely on bashisms
Merge pull request #28 from ajsnow/master

Fix building on OS X with go tool