Fixed minor warning
Added -safe-string compilation flag