fixed compile time bug with llvm