Fix for MRI 1.9.2