Fork the SCons builtin mingw tool to work around a bug making shared
libraries when MSVC is installed