now builds shared library under mingw