Since we have full control over the whole build stack (do we, when it
comes to Python?), it's safe to disable MSVC warnings about exporting
symbols from a DLL which are inherited from a non-exported type (or have
members which are of a non-exported type).