Unbreak shared build on Windows. Collect all version ids to auto.def.