Building modbus.dll with Visual Studio 2005

Partially replaces pull request #94.