[AL] fix XP build errors