Auto detect tools with autoconf.
DLL's are in BIN folder.
Fix rules for building UDR plugin.
Don't use any def files for mingw libraries.