Use "curl --fail" to avoid downloading llvm.org HTTP 404 page.
Fix bash if/[ syntax.
Also remove potential stale LLVM .xz archive.
OS X: Force Clang to use libc++.

This makes LDC buildable on 10.8.5.