fix build on windows

this is quick fix for issue #41