Updated DLL generation script