made RR use standard compliant C++ to compile with clang stdC++03