Updated auto_build.sh for continuous integration improvements.