make lib copy dynamic