Fix compilation on windows xp