Changing the -package dependency resolution algorithm