Task #0051: Using external random numbers to get rid of c++11 dependency.