mod build_dir