fix installation of graphics magick