Add an #undef R0 as well, as that seems to be an issue on some platforms.