md5: export md5 symbols in ABI.
tests: plug leak.
tests: use libtool to execute, allow calling valgrind with VALGRIND=valgrind.