support for msys environment (still not recommended)