Issue #22146: Fix typo in __build_class__ error message