Fixing the REPOMIRROR linking and clean-all script after toolchain changes.