The part with gcc-wrapper-old changes is rather unimportant, as it's almost unused but I still tested that the sole user `gnat` builds.
also makes cc-wrapper compatible with clang in the darwin fork.