Make DLL exports work for other win32 compilers, per Dimitry Andric's suggestion