some unix-friendly c-string changes