Lots of changes to make clamav run on XP
Clam scanner fix