tweaks to compile with LLVM 3.1