Fix inconsistent linkage warnings from Visual Studio caused by mismatched dllexport specifiers.