add cxx11/cmath.hpp and configure macros