[mms-lib] Tweaking ImageMagick/Qt switch