added support for windows/msys