(fix) calling die(...) passing std::string instead of a C string
(fix) Getting undefined memcpy compiling on Ubuntu