linker flags to windows, latest mingw requires libwinpthread
more linker flags, for freetype