Fixed C-warning
Added -safe-string compilation flag