Fix to Swift changes in xcode 6.1