Commit 4316aeb4 inadvertently made cmake builds depend on bazel. This change set removes the dependency.