Minor fix to build script for automated packaging.