Fix usage of winpexpect without the need to embed a modified version into the project.

Need to test on linux