Update packages to use Package.registerBuildPlugin