Fix package installation in build pipeline