Skip header only libs from recursion in get_dependency_paths() utils func.