Fix build script package for package installs

also we should not remove the build directory

NOTE: this is a canditate for the stable branch