fix compilation for llvm 3.5