Fix appveyor build