Add some #ifdefs so that both LLVM 3.4 and 3.5 are supported.