Update dependencies and fix lack of Thrift definition module

Update dependencies to version Thrift 0.9.0
Fix lack of Thrift definition module ;-( in src/main