Fix for static linking using mingw
Merge pull request #84 from gabomdq/mingw-static-fix

Fix for static linking using mingw