libelf fix