liblogging: add systemd build option (disabled by default).