Fix package install order