fix build to work if Qxmpp is not available
Merge pull request #3217 from ZappoMan/buildwithoutqxmpp

fix build to work if Qxmpp is not available