Added #I for x-plat compatible script
Updated ProvidedTypes.fs to support mono for casting of generic reference types