Check for both rmagick and RMagick when deciding whether to use rmagick or not