fix for api changes in llvm 3.3
Merge pull request #124 from gartung/fix-for-llvm-3.3

Fix for api changes in llvm 3.3