We need -lpthread for the pthread example