Fix configure script for mingw32

Note: toxic itself will still not build because the code does not have
the appropriate ifdefs and a WIN32 specific implementation.
Merge pull request #8 from jin-eld/fix-configure-for-winblows

Fix configure script for mingw32