build: replace multiple blank lines with a single one