reverted with full c++11 stuff
trying cstring to make gcc happy about memcmp