[build-in-chroot.sh] Finish ccache support