Fix errors xcode6 beta7