fix appveyor build fail