static and dynamic lib