md5: MD5Transform should be static
sha1: workaround for name collision with libcrypto

src/sha1.c is used only for internal purposes. So, just add prefix
xmpp_ to the SHA1 symbols.