support newer versions of GiNaC (>= 1.3.8)