Fixing issues when binding strings using s.c_str().