install.sh: detect newer amazon installations correctly