Auto detect the platform

Now the platform should be auto-detected  so we can run `ti build -C iphone_5` only