Fix /bin/sh compatibility issue in install.sh
Merge pull request #1402 from sergeylukin/master

Fix install.sh compatibility with /bin/sh