Fix error on Xcode6 beta 6