Adds imguri and magickwand as optional dependencies