Allow to specify root document for build tree