fix const correctness and replace C-string with std::string
fix some cache natives
fix Release build missing #define
disable RTTI