Fix some compile warnings for LLVM 3.0
Fix a compile error with LLBM 3.3