check macro for c++11 and boost