Aha! In Linux c_str is necessary. String is not automatically converted to a character sequence