Fixed build errors and updated support files and settings to build in Xcode 4.5.2.