Fix typo in generate-exports
Merge pull request #2595 from probins/patch-1

Fix typo in generate-exports