Fix XCTest compling issue on Xcode 6 beta 2