Fix wrong assumption in MacOS::Xcode.without_clt?

Fixes #22221.