Solaris doesn't have qsort_r either