Fixed the non inclusion of pthread in the library. Was necessiting explicit link in the user application to pthread.