Bug if CMAKE_SYSTEM_PROCESSOR is empty which can happen on windows with cygwin.
Remove a manually generated export header (which is not working and redundant with the cmake generated one).