Fix warnings in Xcode 5.1.