Make the MD5 digest calculation work on Mac

Addresses #13