Could something like this work here?  Then the changes to `src/rtapi/Submakefile` could be eliminated
```
get_rtapi_config(val,"RTLIB_DIR",PATH_MAX);
snprintf(val+strlen(val), PATH_MAX-strlen(val),
    "/ulapi-%s.so", name);
```