possible mingw fix