Fix AppVeyor tests.