Fix: Didn't compile on WIN32 with mingw