Add an option to build an import .lib with dlltool on mingw