Fix build for windows xp