Fix llvm 3.6 build

There's probably a more concise way to do this, but I prefer maximal readability.