Improved the make/package scripts (they will now stop as soon as a build/packaging error occurs).