detect if RMagick is in use