build: beautify the build and zip packing scripts

Signed-off-by: Stefanescu Cristian <howerkraft@gmail.com>