work with llvm 3.3 and 3.2

git-svn-id: https://roadrunnerlib.googlecode.com/svn/branches/feature-llvm@1214 c0027639-9190-0b57-01eb-f09a03790dae