Fix ResourceIdCache build fail