fix install.sh for compatibility