Local copy of RhinoUtil