fix library target