Fix warnings when building win32 module and add module to appveyor build