Fixed install order for packages