Added ifdefs to remove code that should only exist in the full version of RhinoCommon