made install.sh POSIX compatible

fixes non-bash /bin/sh shells