[runtime] Add support for using COM types from corlib.