Fix yara build on windows