Fix build on systems without syslog.h

Currently, the build breaks if a POSIX-like system lacks syslog.h. A bit of fix-up is all that's needed to ensure that the configure-generated define meshes with what the source expects. Also, I defined LOG_ERR as the build will otherwise fail since it is defined by syslog.h.