examples: fix borked makefile.am

- add missing -lpthread to glxplay_LDADD
- fix incorrect deps check