Adding required Pthread on linux