Add public domain ssort_r if qsort_r and qsort_s are not present