pub fn get_engine_path(dir: PathBuf, engine: &str, binary_name: &str) -> String