improved architecture recognition + fixed Pre-Depends list