Add dependency for pthread in osquery/core (#5540)
Add dependency for pthread in osquery/core (#5540)

Summary:
This fixes the linking error described in #5536.
Pull Request resolved: https://github.com/facebook/osquery/pull/5540

Reviewed By: jessek

Differential Revision: D14658581

Pulled By: theopolis

fbshipit-source-id: 76792696faaf834c22356c0090773a1a5fe40900

hackgnar/osquery,hackgnar/osquery,hackgnar/osquery