Building with clang (e.g. on FreeBSD) is very noisy due to -Wthread-safety-analysis
warnings regarding boost. This change removes a number of unnecessary boost includes, and silences the rest of the warnings when building with clang. This allows more potentially interesting warnings to surface from the noise.
Tested on FreeBSD 11.2