make build-corpus more tweakable