Fixed build errors with Xcode 3 (LLVM-GCC 4.2).