grouped system-update and dependency-installation commands separately from build preparation commands.
Merge pull request #2 from stopfstedt/build_script_tweaks

regrouped commands in build script