win32 integration

These are the necessary changes to get this addon working on win32. The first commit is win32 independent but contains two changes to silence warnings I saw during the build. The second commit just adds the DLL to the addon.xml as needed.