Fixed -Wwrite-strings warnings with gcc compilation