Windows build files and CreateFileMappingA fix

I also added the repo to AppVeyor for Windows CI. It currently only does a build test as the the unit tests are not yet set up in Windows.