[extensions] replace calls to ::sqrt by calls to bg::math::sqrt;
change has not been applied to projections and ttmath;