Create pkgdatadir in make

Continuation of pull request #200.