fix imagemagick installation