THRIFT-4295: rework the docker build images, updating them and tuning the travis builds

This closes #1340
diff --git a/compiler/cpp/CMakeLists.txt b/compiler/cpp/CMakeLists.txt
index 8e861e4..5da28aa 100644
--- a/compiler/cpp/CMakeLists.txt
+++ b/compiler/cpp/CMakeLists.txt
@@ -23,6 +23,7 @@
     # The winflexbison generator outputs some macros that conflict with the Visual Studio 2010 copy of stdint.h
     # This might be fixed in later versions of Visual Studio, but an easy solution is to include stdint.h first
     if(HAVE_STDINT_H)
+        add_definitions(-D__STDC_FORMAT_MACROS)
         add_definitions(-D__STDC_LIMIT_MACROS)
         add_definitions(/FI"stdint.h")
     endif(HAVE_STDINT_H)