fixed bug in install-mac.sh