fix kd_flasher build