make rio-ui script work without RIO_HOME
Fix LibraryPathHelper when adding same path more than once