Removed string to char* build warnings.