Adding some Ubuntu dependencies for matplotlib install.