gcovr: split prepare and build