Allow tinyjson to be compiled as C++