llvm: Improve the script and the compatibility with Mac OS X
Merge pull request #2373 from jpdeplaix/llvm-improve

llvm: Improve the script and the compatibility with Mac OS X