Fix AppVeyor build failure