lib: link with pthread to avoid undefined symbols
lib: link with pthread to avoid undefined symbols

Fix undefined symbols sem_timedwait, sem_init, sem_post, sem_destroy.

Signed-off-by: Anssi Hannula <a67f875f3f4d9a809275c1d14e68c85c921fe2e8@iki.fi>
Signed-off-by: Jarod Wilson <14059c7158912dcae849c377925c87d46da48cdf@redhat.com>

agx/libcrystalhd,agx/libcrystalhd,agx/libcrystalhd