add SystemConfiguration.framework
remove iOS 5.x code