thrift: Fix build failure that stdlib and boost both define uint64_t

In Ubuntu14.04 environment, build error occurs because of
a redefinition of uint64_t. (THRIFT-2367)