Modify build for Medigram xmpp usage