Fix const char * compilation