Define XDG_CACHE_HOME as $BUILD_DIR/.cache