Update extconf to produce viable makefile on mingw
Remove commented code.
Merge branch 'mingw-fixes'

dep-selector can now build correctly on windows with mingw