Fix uninitialized variable errors found by XCode 4.6. Fixes the build for XCode 4.6 and OSX 10.8.x.