Revert "Remove some vestiges of the old C extension support that don't do anything."

This reverts commit ecce6ebd440d65da8dec31750d79b3f41b2373b4.