Fix CLT latest version check for 10.8/9

Closes #23874.