build fix on windows