Added function to get the xia root directory.