Fix builds of even older Dojos. Refs #17283.