added missing pthread library dependency
add -lpthread to RTcmix makefile
add -lpthread to portmidi build
added lib depends