updated build script to iOS7.1