Fix bug in post targets.

Packlist was being created before post targets, and therefore they
couldn't be included in the package.

packlist now depends on post targets