Fixed DLL creation on Windows using mingw32 (4.6.x and 4.8.x):
libtool: link: warning: undefined symbols not allowed in i686-pc-mingw32 shared libraries, so the DLL was not being created.