Fixed duplication in the cmake