wraps the converted Pkg into a compilation unit