Improved the build script for r3 by pulling the latest source from master.