dynamic and static library