Fixed compile errors for new LLVM compiler (used in Xcode 5.0).