Fix warnings from Xcode 4.5 DP1