build script work with Xcode 6.1(iOS 8.1) and add build script for build libjpeg.