std::rt: Add util mod and num_cpus function