Fix some compiler warnings reported by LLVM 3.3