Update build.sh

i had to set PTLIBDIR, otherwise it wouldn't build.
Merge pull request #1 from jangrewe/patch-1

set PTLIBDIR