Change __cplusplus usage

    The macro __cplusplus is broken in gcc
    So we use the macro DCLOUD_USE_CPLUSPLUS11 to check for C++11