fix problem RMagick on Ubuntu