configure.ac: fix enable_rsyslogd and improve enable_zlib