Added simle preprocessor to methodgen for stripping out unused functions in Rhino3dmIo build