Update to compile with ejabberd 14.07