--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -515,7 +515,7 @@
     set(NOMINMAX 1)
 endif(WIN32)

-set (BOOST_CXX_FLAGS "-DBOOST_BIMAP_DISABLE_SERIALIZATION")
+set (BOOST_CXX_FLAGS "-DBOOST_BIMAP_DISABLE_SERIALIZATION -DBOOST_NO_STDLIB_CONFIG")

 # append the SIMD flags if requested
 if (ENABLE_SIMD)
