Build and install ImageMagick