fix on windows to export properly symbols for dlls