When compiling c++ code a struct should set construct = 'class'