repair the build script to check the xcode version before compile