making parse_install_options not change in place