Added submodule cmake (bug fix)