fix build-install script