Fixed build issues with llvm on Mavericks