Fix package restore for *nix.