quick refactoring of build definition

=> DRY