Added .def file generation to mingw dll config