rom_tool: fixed linux compatibility