fix regression in boundary scanning and test-suite
put gmime back in charge of boundary scanning