Update dir_tree.py use ArgumentParser insted of argv. Fix makefile dependencies.