Fix compilation issue in webservice and android