configure: Check for openssl/ec.h

Closes #185
configure: only disable what needs openssl/ec.h
Merge pull request #205 from TingPing/openssl

configure: Check for openssl/ec.h