manage setting files for different platform in different dirs & update macosx files