Added build scripts for examples.