Fix LLVM 3.4 compilation issues