fix rrs build with the SDK