fixed compilation errors for apigee client code