Update cmake library dependencies.