linkapps: prefer opt path for link