fix build_dir