Update build script for Xcode 5