Clang DLL build fix