Install ImageMagick in before_install process.