Convert some char * to const char *