tree: repair cross build.