Fix FTBFS (test failure) with GCC 6.1 Hex float constants are part of C++17 (and only GNU extensions in C++11) and GCC 6.1 errors out when src/mongo/base/parse_number_test.cpp is compiled using -std=c++11.
use system libraries if possible This patch tries to allow the usage of system libraries whenever possible. Unfortunately it is not easy to perform relevant checks in a proper way, so, while functional, this patch is not suitable to be sent upstream as it is likely to create troubles on non-Debian systems.
Fix build against Boost 1.67 In Boost 1.67, boost::next and boost::prior were moved from utility.hpp to next_prior.hpp. Fix this by including next_prior.hpp for Boost 1.67 and onwards.