io: Fixed compile errors on lucid