Fix for windows xp and old vc.