Fix warnings with Xcode 6 beta