add thrift install script