Provide `TypeTools.toComplexType` for all platforms