Fix to AutoregisterInternal for netfx_core