another thing is that AFAIK mingw can not use MMX, SSE(2) and other CPU optimizations, so the libraries are probably slower a little bit...