oss: Enable shared compiler build
oss: Enable shared compiler build

Summary: Currently we can only compile thrift with static libraries. This adds the correct dependencies to thrift/compiler to be able to compile it in a shared way. In general it's always good to have every independent library pull all the deps it needs.

Reviewed By: yfeldblum

Differential Revision: D5923045

fbshipit-source-id: 8c0fdcb23aca02295d9512d8c28189dee73d3b4c

facebook/fbthrift,facebook/fbthrift,facebook/fbthrift,facebook/fbthrift,facebook/fbthrift,facebook/fbthrift,facebook/fbthrift,facebook/fbthrift,facebook/fbthrift