Minor changes to DLL build process