C: compile fix for linux. sorry for c_str()