modify thrift install script