Added macros to comfort C++11 and C++14.