added LLVM compilation fail handling