Add dependencies to compile thrift