Create libmysql.a using dlltool.exe on mingw64

~~I have no idea if this will work.~~ It works! See #469.
Why is not `libmysql.lib` placed in the same support folder like `libmysql.def`? (the `.lib` is only useful at build time)