build: move the CCACHE_DIR to the build targets so that it doesn't interfere with...