Fixing thrift compilation.