fix w32 build

http://sourceforge.net/p/mingw/bugs/1912/   <-- lol