Try to use GNU utilities on Solaris. Replace GNU utils occurrences to __rvm_ funtions everywhere in the code