updated MinGW scripts