Create libmysql.a using dlltool.exe on mingw64

~~I have no idea if this will work.~~ It works! See #469.
The `platform` option is for targeting dotNET builds :smile: