Handle build errors.