Include lager in the build dependencies.
Fix mod_log_chat so it works with Ejabberd 13.12.