fix compilation on linux (because of Windows DLL EXPORT)