Compatibility tweaks to oilrrt.c