Fix package installation method