set PTLIBDIR

i had to set PTLIBDIR, otherwise it wouldn't build.