support subcommands on windows. Fixes #142