Fix false positive in version detection.