Add a 'recompact' tool, which forces recompaction of the build and deps logs.