server: fixed compilation issue