rt: Make the old rand builtins work with newsched