Make script execution stop in case of error
Indicate success at the end of each compilation script
Cleanup build scripts and add success message

Make the configuration options more readable, factorize some code, and
indicate successful installation of packages.