select different build cache when root directory is non-writeable