Windows: Fix --version to not pause prompt if running in attached console.