Fix installed software detection