Add ifdef on ecdh for single_ecdh_use

Allows build with OpenSSL < 0.9.8