Fix compile error without message digest support
Fix compiler warning with openssl
Include winsock2.h before windows.h
Remove clean-local not to remove generated man pages with `make clean`

Because we don't require sphinx-doc to build distributed archive, the
man pages are generated when making distribution. And We want to keep
the generated man pages with `make clean` there.