fix build dependencies
fix: add java library from thrift