Support LLVM 3.3.
This is a joint effort from lg and Sven-Hendrik Haase.