Fix cup all when using prerelease packages.