fix for static builds with mingw-w64 compilers - part 1
fix for static builds with mingw-w64 compilers - part 2
Merge pull request #218 from BMBurstein/master

fix for static builds with mingw-w64 compilers