Fix processing of --version argument.