Correct libraries and update to Xcode 4.6.3, Mac OS X SDK 10.8.