pub fn resolve_binary_path(path: &mut PathBuf) -> &PathBuf