Build Debian debug package for libmodbus
Ignore autogenerated files for libmodbus-dbg Debian package
Fixes the DLL type and flags and builds the debug version of the
DLL if required.