fix for xcode6-beta4