Update main.cpp

Needed explicit const char * => string cast to make it compile on Ubuntu