minor make.sh bugs