[backfire] tools: merge r29293 (use host build_dir instead of target build_dir)