Use PolarSSL's MD5 and SHA1 implementations if building with PolarSSL. fixes #4