Fix test program compilation, random() needs to be undefined.