install dependencies for rmagick