fixes #221, building on windows