Fixed compilation in Xcode 6 Beta 3