More Rhino compatibility fixes

Add some shims to make i18next work in Rhino.