Do not link Community to libldap
Remove duplicate selection of libraries for MinGW build
Move comparray from libpromises to cf-agent

(Related: #1973)
Remove duplicate LogHashChange function: leftover after split
Include alloc.h to bring xmalloc to atexit.c
Use platform.h to include conf.h in alloc.h
Fix wrong #ifdef for GetUidConstraint
GetOwnerName has a separate implementation for mingw
Link to Nova-specific libcfexecd
Fix wrong macro name