workaround for bug in mkmf
workaround for bug in mkmf

works-around a known bug in mkmf, which was resolved in
https://bugs.ruby-lang.org/projects/ruby-trunk/repository/revisions/39717

Since the current Windows Ruby distribution doesn't include this fix yet,
we work around it by detecting whether mkmf is functioning properly or
not, and fixing it if it's not. This behavior will degrade gracefully if
the user is running a version of mkmf with the fix.

mkdynamic/mysql2,zmack/mysql2,zmack/mysql2,yui-knk/mysql2,kamipo/mysql2,sodabrew/mysql2,kamipo/mysql2,jeremy/mysql2,webdev1001/mysql2,mkdynamic/mysql2,zBMNForks/mysql2,brianmario/mysql2,zBMNForks/mysql2,tamird/mysql2,webdev1001/mysql2,marshall-lee/mysql2,webdev1001/mysql2,mkdynamic/mysql2,bigcartel/mysql2,marshall-lee/mysql2,jeremy/mysql2,brianmario/mysql2,marshall-lee/mysql2,modulexcite/mysql2,modulexcite/mysql2,kamipo/mysql2,tamird/mysql2,yui-knk/mysql2,modulexcite/mysql2,bigcartel/mysql2,PipelineDeals/mysql2,bigcartel/mysql2,sodabrew/mysql2,sodabrew/mysql2,zBMNForks/mysql2,brianmario/mysql2,zmack/mysql2,mkdynamic/mysql2,yui-knk/mysql2,jconroy77/mysql2,jconroy77/mysql2,zBMNForks/mysql2,jeremy/mysql2,PipelineDeals/mysql2,jconroy77/mysql2,kamipo/mysql2,jconroy77/mysql2,PipelineDeals/mysql2,tamird/mysql2,zmack/mysql2,bigcartel/mysql2,modulexcite/mysql2,PipelineDeals/mysql2,webdev1001/mysql2,marshall-lee/mysql2,tamird/mysql2,yui-knk/mysql2