rgw: fix compilation

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>