Add mingw library project, fix win32 compilation