Update buildPackages.sh