Added mingw target for compiling windows exe and dll.

They can be compiled on linux; all that is needed is the mingw32
package.