compiling on mingw, windows 7