now compiles with Xcode 6 beta 6