Add pthread dependency in README