toolchain.sh: Instead of depending on system libraries, use GCC's own facilities...