Update to ejabberd 13.12

Fixed LDFLAGS and CPPFLAGS.