client: fixed compilation error using old boost versions