fixed usort static library build errors