fix linux type-generator build