Add imagemagick build dependency