Remark on the calculation of the static dielectric constant