fixup for windows compilation