Removing build script tests and fixing the build issue caused by an AppVeyor breaking change