Fix some install errors