Build several versions of ImageMagick.