Pass the package type through to the build function.