[Build] Add encoding option