Fix llx_c_type_resource when you update from a 3.6-beta