Fix warnings from xcode 5.1.1