rgw: fix build on centos

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