Adjust the config file to allow cross-compilers

Cross-Compilers usually have a architecture prefix, like arm-none-eabi- for example.

Commit was stolen from nolange @ github.