platform type to use base class template

This is needed by dynamic casting for Windows Platform::Object^