[emi.amga.amga-cli] Patch compile errors.