use build_dir