appveyor configuration
fix syntax error
fix tests and disable msvs warnings