Fixed warning for random number generator on 64-bit systems. Still only generates 32-bit random numbers