Removed useless code from CMake tools commit.