thrift: fix HEAD build.

Newer versions of thrift require >= Bison 2.5 but Mavericks has 2.3. It
also requires an updated OpenSSL library so include that too.

Closes #33928.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>