Add dirtree and its dependencies.