Fixed dir test in install.sh