Make have_imagemagick a const, to avoid compilation trouble