Adding the link to the pthread library