adaptation to different version of gSOAP