[build-in-chroot.sh] Various ccache fixes