Bugfixing mwe generator under windows