win32: xp compatibility