Don't make assumptions about struct members

This fixes a warning on every file that include StdString.h when
compiling for android and presumably, whichever platform the ifdef was
originally added for.
[Test] Don't make assumptions about struct members