Fix dllexport for non-Windows operating systems