Remove some lines in install scripts