Fixed minor bug in install script