clean up of build definition