fix builds on windows