fixed Linux compilation errors in usort third-party library