Add ifdef on ecdh for single_ecdh_use

Allows build with OpenSSL < 0.9.8

It looks to be under ecdh ifdef at d0c9207cff83a1055767e86e8d2aa9661513224f but changed in the refactor done at 27849c998a77a093449dec4b051dfc266d5123ec