made configure warning better for mingw