Updated cmake library dependencies.