Fix missing weak declaration.