replaces C-style typedef struct with C++-style struct

- Not sure if there is a reason for this coming from Node. If this is a requirement, please close. If not, let's stay C++ all the way.

cc: @jfirebaugh