Fix bug in install script