fixes for CI build on Windows