Adding imagemagick to compile.