allow replace rtti
full remove freetype
small compilation fixes