Make install script robust