Add metatableregistry to ObjFun

 so that class functions returning custom type registered via SetObj work
Should you check if this directory exists or is set similar to how it's done to `LUA_INCLUDE_DIR` above?