add ECC support in configure
add ECC support in configure (WITH_ECC)