Automatically compile Thrift definitions