Fix random to allow partial specialization of rand<>()