Fix CDN builds for old Dojo. Refs #17283.