Generate import libraries with the right name right away instead of using an intermediate .spec.def file.