Auto detect the platform

Now the platform should be auto-detected  so we can run `ti build -C iphone_5` only
Merge pull request #5 from rborn/master

Auto detect the platform