Add optional filtering for targets in Target.get_dependencies()
Add detection of circular dependencies in makefiles