Sync icon installation logic to legacy makefiles