port c++ library for hadoop