Fix appveyor function.