Fixed Swift compatibility with Xcode 6 GM