Fix undefined symbols on Mac.

Deactivate ShapeInfo::reinit on MSVC target as proposed in c2021e2.