Add -lgmp to ecm build. -lgmp appears more than once
in linking commands. -lm sometimes five times.
Somehow, this is enough -lgmps or in the right place
to actually link to gmp. Still all system stuff, though.