Improved detection of newer XCTest version.