fix warning of C++ mode compiling with VS2013