overwrite build_dir