build client library