enable creating LLVM compiler from C api, fix logging