Use std::multiset to speedup concave test.  Fix some android warnings.