Issue #20643: Removed unneeded (and wrong) class directives.
Keep Mac/build-installer.py in sync across branches (affects 2.7 only).