fixed build.sh examples

The examples weren't building with the recommended Xcode projects.