win: make build on windows. remains to test