Removed -lpthread library as a test