fix build failure with flags -Webapp -Quvi

Build fails due to missing dependency on aeson when building with
flags: -WebDAV -XMPP -Webapp -Feed -Assistant -S3 -Dbus -Quvi -Pairing -Tahoe -DesktopNotify.

Sprinkle some `#ifdef WITH_QUVI` around to fix the problem.