compile client libs