Fix mingw compile

Mingw compile broke again I fixed it again