configs: add both shared and static library option to server config