Replaced ergatis_dir with ergatis_bin.