Cloud, SaaS are bright spots in tech's weak M&A market