Fix client building