Add pthread to CMake sem_wait check. Fixes #53

Some systems have sem_wait in librt, some in libpthread.
This add pthread to the CMake check for semaphore support.

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
1 file changed