Fix installation and packaging.