fix command line parsing on Windows