require RMagick only when needed