Compatibility with random() libraries (now everyone uses random() and RANDOM_MAX insead of rand() and RAND_MAX)