rs: Fix build with ISO C++ 11 compilers

Change-Id: I99b5583fac15a33c1f7ab29a7fdb170feeee0cfe