fn path_is_dylib(path: &Path) -> bool