configure: Check for openssl/ec.h

Closes #185