add ECC support in configure (WITH_ECC)
made ECC code optional
made ECC code optional