Fix typo in generate-exports

a very funci ton :-)