Add OS detection to Makefile to remove -lcrypt from libs and use -install_name rather than -soname in LDFLAGS
Add OS detection to Makefile to remove -lcrypt from libs and use -install_name rather than -soname in LDFLAGS

jiangjinxiong/libcli,kevkeys/libcli,aend/libcli,dparrish/libcli