Changing random.h to use cstdlib for Windows compability.

As discussed with Sameer today.

Change-Id: If3d0284830c6591c71cc77b8400cafb45c0da61f
diff --git a/internal/ceres/random.h b/internal/ceres/random.h
index cd7a0ea..352c003 100644
--- a/internal/ceres/random.h
+++ b/internal/ceres/random.h
@@ -34,19 +34,20 @@
 
 #include <cmath>
 #include <cstdlib>
+#include "ceres/internal/port.h"
 
 namespace ceres {
 
 inline void SetRandomState(int state) {
-  srandom(state);
+  srand(state);
 }
 
 inline int Uniform(int n) {
-  return random() % n;
+  return rand() % n;
 }
 
 inline double RandDouble() {
-  double r = static_cast<double>(random());
+  double r = static_cast<double>(rand());
   return r / RAND_MAX;
 }