Remove unused var.
Update cmake.