Compile qsort in MacOS