Fix build for Windows XP and 2k3