fix broken ecl (fixes #27929)

Add dependency with gmp.