add support to boost without C++11