This is needed to prevent an error arising from the cache and the build to be on different volumes, see https://trac.sagemath.org/ticket/27554