Fix windows build.
Use local MD5 on Windows.
Compile MD5 as C and not C++ symbols.