mingw build fix no. 3