Add OS update functionality to build

Previously, the build did not update the OS during the build.  This
change adds that ability.