dna_type_offsets.h must be generated before we use it in blenkernel, similar to what we already do for blenloader.