fix static build error due to duplicate MD5 functions

since we link to -lcrypto unconditionally, we have to define
HAVE_OPENSSL unconditionally as well.

closes #254