remove link command in CMake