fix build to work if Qxmpp is not available