Add missing sqrt friend function