Tech companies more optimistic about mergers and acquisitions