Fix compilation error on Linux with gcc
Update client script