TS-1872 More robust compiler detection

we add autoconf-archive's ax_compiler_vendor to more robustly detect
which compiler we're dealing with.

(For varying interpretations of robustness when dealing with autoconf)