added cstring for Linux