improves osx clt installation logic