I won't be able to review this properly until at least January 3, but an immediate concern is that other dll's shipped with Wine Mono in the lib/x86 and lib/x86_64 directories may have a similar issue.
Can this information be embedded into the dll itself instead of having to pass a flag to LoadLibraryEx?