Amazon and other uncertainties are driving M&A