Fix build on windows (yara currently excluded).