Fix relative paths in amd-tree