detect old boost with clang and disable c++11