Fix rmagick dependency