compile client