Remove error message and non useful lines.
Use a hand written export file as GenerateExportHeader is only for C++ foe now...
Style.