matched thrift version
added ubuntu dependencies