packaging - small fixes to build script, remove unneeded files