Makefile: -Wno-unused-result is not very portable
Makefile: -lcrypt is OS-specific
Makefile: fix deps for misc_util.o
util.c: do not use GNU strndupa()