use newer libwinpthread-1.dll instead of pthreadGC2
add generated libpd.jar to classpath