fix warning: assignment discards qualifiers from pointer target type, Compatible with Linux Installation