Structure constants in the Green's function method: a new analytic evaluation