if prefix is not defined, then create symlink in local