Core: Add drop-in LV replacements for std::rand() (addresses #47)