Fix compilation in ViscElCap.