issue #2905: remove sub folders except platform
Merge pull request #3935 from minggo/remove-subfolder

issue #2905: remove sub folders except platform