fn filter_dynamic_search_path<'a, I>(
    paths: I,
    root_output: &Path
) -> Vec<PathBuf>
where I: Iterator<Item = &'a PathBuf>,