Checked if qsort_r is not available (old versions of libc)