Somehow this got lost, probably in the recent RTS tidy-up. Fixes segfaults in unregisterised compilation.