Fix to run with Xcode 6.1 beta