Fixed compilation error

This is the fix to make the generated client compilable in my case.