Autodetect C++ version using __cplusplus value, issue #62