Update extconf to produce viable makefile on mingw

I have no idea what the consequences of removing `$LIBS << " -lstdc++"` will be on other platforms. This needs to be sanity checked.