MSBuild task code updated to handle API change in PackageBuilder class