use a .spec file and fix the export ordinals