* configure.ac (random_modules): Reworked the code to select the