Fixed detection of custom Random number function option

This function is annoying.

Signed-off-by: Andrew D. Horchler <adh9@case.edu>