Fixing compilation with NaCL. The runtime_error constructor does not officially take a const char* argument until C++11, and the implicit conversion can trip some standard libraries (stlport).