setPlatform support
Merge pull request #2 from rcs/configPlatform

setPlatform support