Trimming down the code to only what is needed.
Remove prepare_toolchain, setup_ccache, prepare_chroot
Removed the rest of unused code.