base-files: only relink libraries if the linaro toolchain is selected