Win32: made toolchain compilable on windows with mingw32