Port Ceres to Windows

This is a preliminary, but full, port of Ceres to Windows.
Currently all tests compile and run, with only system_test
failing to work correctly due to a path issue.

Change-Id: I4152c1588bf51ffd7f4d9401ef9759f5d28c299c
diff --git a/internal/ceres/jet_test.cc b/internal/ceres/jet_test.cc
index f12b8b9..0dd4336 100644
--- a/internal/ceres/jet_test.cc
+++ b/internal/ceres/jet_test.cc
@@ -33,7 +33,7 @@
 #include <algorithm>
 #include <cmath>
 
-#include <glog/logging.h>
+#include "glog/logging.h"
 #include "gtest/gtest.h"
 #include "ceres/fpclassify.h"
 #include "ceres/stringprintf.h"
@@ -44,6 +44,8 @@
 namespace ceres {
 namespace internal {
 
+const double kE = 2.71828182845904523536;
+
 typedef Jet<double, 2> J;
 
 // Convenient shorthand for making a jet.
@@ -166,7 +168,7 @@
     VL << "x = " << x;
     VL << "y = " << y;
 
-    J u = pow(M_E, logx);
+    J u = pow(kE, logx);
     VL << "u = " << u;
 
     ExpectJetsClose(x, u);
@@ -174,7 +176,7 @@
 
   { // Check that pow(e, log(x)) == x.
     J logx = log(x);
-    J e = MakeJet(M_E, 0., 0.);
+    J e = MakeJet(kE, 0., 0.);
     VL << "x = " << x;
     VL << "log(x) = " << logx;
 
@@ -186,7 +188,7 @@
 
   { // Check that pow(e, log(x)) == x.
     J logx = log(x);
-    J e = MakeJet(M_E, 0., 0.);
+    J e = MakeJet(kE, 0., 0.);
     VL << "x = " << x;
     VL << "logx = " << logx;
 
@@ -198,7 +200,7 @@
 
   { // Check that pow(x,y) = exp(y*log(x)).
     J logx = log(x);
-    J e = MakeJet(M_E, 0., 0.);
+    J e = MakeJet(kE, 0., 0.);
     VL << "x = " << x;
     VL << "logx = " << logx;