LIOS-50: Update build scripts to be iOS 7.1 compliant