fix for Xcode6 beta7