Update build.sh

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