Fix to approximate_diameter to compile on clang.