workaround for clang bug
use std::string in place of const char* so that ngl system is thread safe