Fixed errors in install scripts.