Fix to run with Xcode 6 beta 5