config for libs and static