Xcode6 beta4 compatibility

Compatibility with Xcode6-beta4.