Simple directory tree build helper